package com.javasm.sys.dao;

import com.javasm.commons.entity.OperLogQuery;
import com.javasm.sys.SysOprateLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysOprateLogMapper {
    int deleteByPrimaryKey(Long operId);

    int insert(SysOprateLog record);

    int insertSelective(SysOprateLog record);

    SysOprateLog selectByPrimaryKey(Long operId);

    int updateByPrimaryKeySelective(SysOprateLog record);

    int updateByPrimaryKey(SysOprateLog record);
    List<SysOprateLog> getOperLog(@Param("query") OperLogQuery operLogQuery);
    void batchDeleteLog(@Param("ids") Integer[] ids);


}